home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple Reference & Presen…rary 6 (Reseller Edition)
/
Apple Ref. & Pres. Lib.v6.0.toast
/
pc
/
3-Presentations
/
Apple Demos
/
Training
/
Apple Scanner Training
/
Using
/
background_27099.txt
< prev
next >
Wrap
Text File
|
1990-04-02
|
6KB
|
276 lines
-- background: 27099 from stack: in
-- bmap block id: 28138
-- flags: 0000
-- background id: 0
-- name: Setting Up Scanner
----- HyperTalk script -----
on openStack
set highlight of background button "Using" to true
end openStack
on closeStack
set highlight of background button "Using" to false
end closeStack
hide message box
hide menuBar
-- part 8 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=220 top=308 right=342 bottom=263
-- title width / last selected line: 0
-- icon id / first selected line: 21700 / 21700
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
----- HyperTalk script -----
on mouseUp
visual effect zoom open
go to stack "Apple Scanner"
end mouseUp
-- part 12 (button)
-- low flags: 00
-- high flags: 8004
-- rect: left=376 top=317 right=338 bottom=494
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Troubleshooting
----- HyperTalk script -----
on mouseUp
visual effect zoom open
go to stack "Troubleshooting"
set highlight of background button "Setup" to false
set highlight of background button "Installation" to false
set highlight of background button "Using" to false
set highlight of background button "Troubleshooting" to true
end mouseUp
-- part 20 (button)
-- low flags: 00
-- high flags: A004
-- rect: left=119 top=317 right=338 bottom=222
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Installation
----- HyperTalk script -----
on mouseUp
visual effect zoom open
go to stack "Installation"
set highlight of background button "Setup" to false
set highlight of background button "Using" to false
set highlight of background button "Troubleshooting" to false
set highlight of background button "Installation" to true
end mouseUp
-- part 23 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=0 top=0 right=0 bottom=0
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 24 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=0 top=0 right=0 bottom=0
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 26 (button)
-- low flags: 00
-- high flags: 0001
-- rect: left=414 top=1 right=40 bottom=455
-- title width / last selected line: 0
-- icon id / first selected line: 1008 / 1008
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
----- HyperTalk script -----
on mouseUp
answer "Print this card?" with "Yes" or "Cancel"
if it is "Yes" then
doMenu "Print Card"
end if
if it is "Cancel" then
put "Cancel" into it
end if
end mouseUp
-- part 27 (button)
-- low flags: 00
-- high flags: 0001
-- rect: left=454 top=1 right=40 bottom=494
-- title width / last selected line: 0
-- icon id / first selected line: 1004 / 1004
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
----- HyperTalk script -----
on mouseUp
play harpsichord a4
global search
answer "Type of Glossary search?" with "Browse" or "Automatic" or "Cancel"
if it is "Browse" then
visual wipe up slowly
go to card "Glossary" of stack "Glossary"
end if
if it is "Automatic" then
ask "Search for..."
put it into search
if search is empty then
exit mouseUp
else
visual wipe up slowly
put "find search" into message box
hide message
go to card "Glossary" of stack "Glossary"
find word search in field "Text"
if the result is "not found" then
answer "Word not found." with "OK"
exit mouseUp
else
show card field id 13
wait 4 seconds
hide card field id 13
end if
end if
end if
end mouseUp
-- part 30 (button)
-- low flags: 00
-- high flags: A004
-- rect: left=7 top=317 right=338 bottom=110
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Setup
----- HyperTalk script -----
on mouseUp
visual effect zoom open
go to stack "Set-Up"
set highlight of background button "Installation" to false
set highlight of background button "Using" to false
set highlight of background button "Troubleshooting" to false
set highlight of background button "Setup" to true
end mouseUp
-- part 33 (button)
-- low flags: 00
-- high flags: 0002
-- rect: left=224 top=291 right=309 bottom=258
-- title width / last selected line: 0
-- icon id / first selected line: 1300 / 1300
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Start-Up
----- HyperTalk script -----
on mouseUp
global nav_Path
---find out WHERE on the icon you clicked
put (item 1 of the clickLoc) - (item 1 of the Loc of me) into E
---if the click was on the left then
if E < 0 then
set icon of me to 1301
wait 1
set icon of me to 1300
push card
put PathWay() & "SN Feedback" into feedPath
set cursor to watch
visual effect dissolve fast
go stack feedPath
---if the click was on the right then
else if E > 0 then
set icon of me to 1302
wait 1
set icon of me to 1300
visual effect iris close to black
visual effect iris open
if nav_Path = empty then put "card Welcome of stack Support Navigator:Support Navigator" into nav_Path
go nav_Path
end if
end mouseUp
function pathWay
put the long name of stack "Home" into NewName
delete char 1 to 7 of NewName
repeat
if not(NewName contains ":") then
exit repeat
else
put char 1 to offset(":",NewName) of NewName after NewPath
delete char 1 to offset(":",NewName) of NewName
end if
end repeat
return NewPath
end pathWay